package org.summer.lawyer.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/**
 * 
 * 
 * 
 */
/**
 * 荣誉信息
 */
@Data
@TableName(value = "award")
public class Award {
    /**
     * 主键ID
     */
    @TableId(value = "award_id", type = IdType.ASSIGN_ID)
    private Long awardId;

    /**
     * 荣誉对象（1律师，2律所）
     */
    @TableField(value = "award_scope")
    private String awardScope;

    /**
     * 标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 荣誉封面图片
     */
    @TableField(value = "award_image")
    private String awardImage;

    /**
     * 律所ID
     */
    @TableField(value = "law_firm_id")
    private Long lawFirmId;

    /**
     * 律师ID
     */
    @TableField(value = "lawyer_id")
    private Long lawyerId;

    /**
     * 案例内容
     */
    @TableField(value = "award_content")
    private String awardContent;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @TableField(value = "del_flag")
    @TableLogic
    private String delFlag;

    /**
     * 创建者
     */
    @TableField(value = "create_by", fill = FieldFill.INSERT)
    private Long createBy;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 更新者
     */
    @TableField(value = "update_by", fill = FieldFill.INSERT_UPDATE)
    private Long updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}